import java.util.Date;
public class User {
    private String userId;
    private String username;
    private String password;
    private String userType;
    private String phone;
    private Date registerTime;

    public User(String userId, String username, String password, String userType, String phone, Date registerTime) {
        this.userId = userId;
        this.username = username;
        this.password = password;
        this.userType = userType;
        this.phone = phone;
        this.registerTime = registerTime;
    }
    public String getUserId() { return userId; }
    public String getUsername() { return username; }
    public String getPassword() { return password; }
    public void setPassword(String password) { this.password = password; }
    public String getUserType() { return userType; }
    public void setUserType(String userType) { this.userType = userType; }
    public String getPhone() { return phone; }
    public void setPhone(String phone) { this.phone = phone; }
    public Date getRegisterTime() { return registerTime; }
}

